// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using System;
using System.Linq;
using Elastic.Clients.Elasticsearch.Serialization;

namespace Elastic.Clients.Elasticsearch.MachineLearning;

[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.MachineLearning.Json.DeploymentAllocationStateConverter))]
public enum DeploymentAllocationState
{
	/// <summary>
	/// <para>
	/// Trained model deployment has started on all valid nodes.
	/// </para>
	/// </summary>
	[System.Runtime.Serialization.EnumMember(Value = "fully_allocated")]
	FullyAllocated,
	/// <summary>
	/// <para>
	/// The trained model is started on at least one node.
	/// </para>
	/// </summary>
	[System.Runtime.Serialization.EnumMember(Value = "started")]
	Started,
	/// <summary>
	/// <para>
	/// Trained model deployment is starting but it is not yet deployed on any nodes.
	/// </para>
	/// </summary>
	[System.Runtime.Serialization.EnumMember(Value = "starting")]
	Starting
}